package me.leon.aop

import android.os.Bundle
import android.os.SystemClock
import android.support.v7.app.AppCompatActivity
import android.view.View

class MainActivityKt : AppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main_kt)
    }

    @SingleClickKotlin
    fun aopHaha(view: View) {
        MyLog.log("Kt Hello aop")
    }
    @TimeTakes
    fun aopHehe(view: View) {
        MyLog.log("Kt Hello aop 2")
        SystemClock.sleep(2000)
    }



    fun aopJump(view: View) {
        MainActivity.start(this)
    }


}
